package pers.mine.po;

public class Admin {
	private String id;

	private String pw;

	private String name;

	private String icon;

	private Integer type;

	private Integer state;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPw() {
		return pw;
	}

	public void setPw(String pw) {
		this.pw = pw;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	// 获取类型的名
	public String getTypeName() {
		return "超级管理员";// 暂定
	}

	@Override
	public String toString() {
		return "Admin [id=" + id + ", pw=" + pw + ", name=" + name + ", icon="
				+ icon + ", type=" + type + ", state=" + state + "]";
	}

}